#include "common.hpp"

namespace vl
{

int integer_be(byte const* p, int bytes)
{
	int result = 0;
	
	for(int i = 0; i < bytes; ++i)
	{
		result = (result << 8) | p[i];
	}
	return result;
}

}
